package com.bms.hystrix.interfaces.zl;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "zhiliaoclient")
public interface ServiceHystrix {
    @RequestMapping(value = "/user/selectAll",method = RequestMethod.GET,
            produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    Map selectClient(@RequestParam(value = "yongHuMingCheng") String yongHuMingCheng);
}
